package com.jy.rhin.infra.cda.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.jy.rhin.infra.cda.yfjz.YuFangJZBLFYVo;
import com.jy.rhin.infra.cda.yfjz.YuFangJZJLVo;
import com.jy.rhin.infra.cda.yfjz.YuFangJZKVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface YuFangJZMapper extends BaseMapper<Object> {

    @Select("select *  from JB_YUFANGJZK  ${ew.customSqlSegment}")
    YuFangJZKVo getYuFangJZK(@Param(Constants.WRAPPER) QueryWrapper<YuFangJZKVo> queryWrapper);

    @Select("select *  from JB_YUFANGJZJL  ${ew.customSqlSegment}")
    List<YuFangJZJLVo> getYuFangJZJL(@Param(Constants.WRAPPER) QueryWrapper<YuFangJZJLVo> queryWrapper);

    @Select("select *  from JB_YUFANGJZBLFY  ${ew.customSqlSegment}")
    List<YuFangJZBLFYVo> getYuFangJZBLFY(@Param(Constants.WRAPPER) QueryWrapper<YuFangJZBLFYVo> queryWrapper);

}
